From: Florian Müllner Date: Mon, 19 Jan 2015 22:40:07 +0000 (+0100) Subject: windowManager: Kill a comment X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1892 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4bf53cd5072d032d8d19506fb42d8ce92ccff80a;p=gnome-shell.git windowManager: Kill a comment The code described by the comment was moved away in commit eda27d51, so it is not misleading at best. It wasn't too useful to begin with, so kill it off rather than moving it to the correct place ... --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 2f2a0de38..5e6bdb503 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -1146,10 +1146,8 @@ const WindowManager = new Lang.Class({ return; } - if (actor.meta_window.is_attached_dialog()) { - /* Scale the window from the center of the parent */ + if (actor.meta_window.is_attached_dialog()) this._checkDimming(actor.get_meta_window().get_transient_for()); - } switch (actor._windowType) { case Meta.WindowType.NORMAL: